/**
 * 用户相关的请求模块
 */
import request from '@/utils/request'
// 搜索用户
export function getUserSearch (key, page) {
  return request({
    method: 'GET',
    url: `/users/getusersearch/${key}?page=${page}`
  })
}

// 搜索视频
export function getVideoSearch (key, page) {
  return request({
    method: 'GET',
    url: `/video/getvideosearch/${key}?page=${page}`
  })
}
